﻿using System;
using System.Collections.Generic;
using System.Text;
namespace Brc_PaaS.Common.Model.Basic
{
    public class SqlEntityModel
    {
        public dynamic ConfigId { get; set; }
        public DbType DbType { get; set; }
        public string ConnectionString { get; set; }
        public bool IsAutoCloseConnection { get; set; }
        public InitKeyType InitKeyType { get; set; }
    }
    public enum DbType
    {
        MySql = 0,
        SqlServer = 1,
        Sqlite = 2,
        Oracle = 3,
        PostgreSQL = 4
    }
    public enum InitKeyType
    {
        SystemTable = 0,
        Attribute = 1
    }
}
